/************************************************************
 * Project Name         [Thinking_In_Java]
 * File Name            [Phone.java]
 * Creation Date        [23-Jul-2014]
 * 
 * Copyright© ge.y.yang@gmail.com All Rights Reserved
 * 
 * Work hard, play harder, think big and keep fit
 ************************************************************/
package pkg_principles.srp.example02;

/**
 * 
 * @author 不落的太阳(Sean Yang)
 * @version 1.0
 * @since JDK 6
 * 
 */
public class Phone implements IDataTransfer, IConnectionManager {

	@Override
	public void DataTransfer(IConnectionManager connectionManager) {
		System.out.println("通话中...");
	}

	@Override
	public void dail(String phoneNumber) {
		System.out.println("拨号中...");
	}

	@Override
	public void hangup() {
		System.out.println("挂机");
	}

}
